// 该文件用于合并状态
import {combineReducers} from "redux"

import loginReducer from "./login_reducer"
import leftNav_reducer from "./leftNav_reducer"
import product_reducer from "./product_reducer"
import category_reducer from "./category_reducer"

export default combineReducers({
    //该对象的key决定着store里保存该状态的属性名
    userInfo:loginReducer,
    titleInfo:leftNav_reducer,
    productInfo:product_reducer,
    categoryInfo:category_reducer
})